package com.easy_helth.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface UploadService{

        /**
         * 视频文件上传
         * @param request
         * @return
         */
        public Map<String, Object> uploadVideo(MultipartFile file, HttpServletRequest request) throws Exception;

        /**
         * 图片文件上传
         * @param request
         * @return
         */
        public Map<String, Object> uploadImage(MultipartFile file,HttpServletRequest request) throws Exception;
    }

